<!-- 新增账单 -->
<template>
  <div>
    <bill-refund ref="info" :isInfo="true" :options="options" pageType="cashPledge"></bill-refund>
  </div>
</template>
<script>
  import billRefund from '../../billManage/components/billRefund.vue';
  import { apiPactConstant } from '@a/index';

  export default {
    data() {
      return {
        options:{
          paymentMethodList:[]
        }
      };
    },

    mounted() {
      this.getConstant()
      this.$refs.info.init();
    },

    methods: {
      //常量
      async getConstant() {
        let res = await apiPactConstant();
        this.options.paymentMethodList = res.actualIncomePaymentMethod || [];
      },
    },

    components: { billRefund },
  };
</script>
<style lang="scss" scoped></style>
